Skip to content

Conversation

HeinrichvonStein
Copy link

This PR introduces a tutorial on how to generate a development token for the self hosted PowerSync Service.

Tutorial can be found here.

<Step title={"Update powersync.yaml"}>
Update the following in your `powersync.yaml` config file with the `SharedSecret` value copied in the previous step:
- `k` value in your jwks keys, and
- api token
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The api token here is not relevant. That token is used for administration HTTP routes.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah okay, thought it was meant to be the same. Will update


audience: ["powersync-dev", "powersync", "http://localhost:8080"]

api:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can remove this

Copy link
Contributor

@stevensJourney stevensJourney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Copy link
Contributor

@michaelbarnes michaelbarnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michaelbarnes michaelbarnes merged commit 239a4d8 into docs Dec 31, 2024
1 check passed
@michaelbarnes michaelbarnes deleted the tutorial/dev-token branch December 31, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants